package niconama04.client;

import java.util.List;

import niconama04.shared.data.Category;
import niconama04.shared.data.CategoryOriginal;
import niconama04.shared.data.Original;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("original")
public interface RegistOriginalService extends RemoteService {

	List<Original> getOriginals() throws Exception;

	List<Category> getCategorys() throws Exception;

	List<Original> getSubOriginals(Long x_categoryKey) throws Exception;

	List<Category> getSubCategorys(Long x_originalKey) throws Exception;

	CategoryOriginal registCategoryOriginal(CategoryOriginal x_categoryOriginal) throws Exception;

	void deleteCategoryOriginal(CategoryOriginal x_categoryOriginal) throws Exception;
}
